<div ng-controller="FuwuCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'版本设置'| translate}}</li>
        <li>{{'List'|translate}}
            <a href="#/fuwu/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right">
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'id'|translate}}</th>
                <th>{{'服务名称'|translate}}</th>
                <!-- <th>{{'服务版本'|translate}}</th> -->
                <th>{{'服务费用'|translate}}</th>
                <th>{{'备注'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in fuwu_list">
                <td>{{list.fuwu_id}}</td>
                <td>{{list.name}}</td>
                <!-- <td>{{list.version}}</td> -->
                <td>
                    月：{{list.month_fee}}
                    季：{{list.season_fee}}
                    半年：{{list.half_year_fee}}
                    年：{{list.year_fee}}
                </td>
                <td>{{list.remark}}</td>
                <td>
                    <span ng-show="list.type == 2">
                        <a href="#/fuwu/add?fuwu_id={{list.fuwu_id}}&type={{list.type}}" class="sui-btn btn-primary"> {{'edit'|translate}} </a>
                    </span>
                    <span ng-show="list.type == 1">
                        <a href="#/fuwu/add?fuwu_id={{list.fuwu_id}}" class="sui-btn btn-primary"> {{'edit'|translate}} </a>                        
                    </span>
                    <a href="#/fuwu/order?fuwu_id={{list.fuwu_id}}" class="sui-btn btn-success"> {{'订单'|translate}} </a>
                </td>
            </tr>
        </tbody>
    </table>
    <pager page-no="1" page-size="pageSize" total="fuwu_count" get-data="getList(pageNo)"></pager>
</div>